package com.yq.cp.entity.basics;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.yq.cp.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 巡检计划管理
 * </p>
 *
 * @author shenyuqing
 * @since 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_patrol_plan_management")
public class PatrolPlanManagement extends BaseEntity {

    private static final long serialVersionUID = 1L;



    /**
     * 所属站点id
     */
    private Long siteId;

    /**
     * 站点名
     */
    private String siteName;

    /**
     * 0-计划  1-实时
     */
    private Integer type;

    /**
     * 计划名
     */
    private String name;

    /**
     * 线路id
     */
    private Long routeId;

    /**
     * 线路名
     */
    private String routeName;

    private String cycle;

    /**
     * 负责人id
     */
    private Long headId;

    /**
     * 负责人名
     */
    private String headName;

    /**
     * 运维人员名
     */
    private String otherName;

    @TableField(exist = false)
    private List<Long> otherIds;

    /**
     * 月或者周
     */
    private Integer monthOrWeek;

    /**
     * 几号或者星期几
     */
    private String dayOrWeek;

    /**
     * 最晚执行时间
     */
    private Date times;
    /**
     * 几周-几月
     */
    private Integer number;
    /**
     * 创建人
     */
    private String createName;
}
